<!--针对个人的指标详情-->
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:u('leave/verifySubmit')}" method="post">
		<input type="hidden" name="leaveId" value="{$data.id}" />
		<table width="100%" class="table_form">
			<tr> 
				<td><strong>姓名：</strong></td>
				<td>{$data.userName}</td>
			</tr>
			<tr> 
				<td><strong>假种：</strong></td>
				<td>{$data.leaveType}</td>
			</tr>
			<tr> 
				<td><strong>开始时间：</strong></td>
				<td>{:date('Y年m月d日',$data['startTime'])}</td>
			</tr>
			<tr> 
				<td><strong>结束时间：</strong></td>
				<td>{:date('Y年m月d日',$data['endTime'])}</td>
			</tr>
			<tr> 
				<td><strong>所属营业厅：</strong></td>
				<td>{$data.storeName}</td>
			</tr>
			<tr> 
				<td><strong>请假原因：</strong></td>
				<td>{$data.remark}</td>
			</tr>
			<tr> 
				<td><strong>审核结果 :</strong></td>
				<td>
					<select name="verifyTypeId">
						<option value="0">{:L('please_select')}</option>
						<volist name="leaveVerifyType" id="val">
							<option value="{$key}">{$val}</option>
						</volist>
					</select>
				</td>
			</tr>
			<tr> 
				<td><strong>审核备注 :</strong></td>
				<td><textarea name="verifyRemark" id="J_remark"></textarea></td>
			</tr>
		</table>
		
	</form>
</div>

<script>
$(function(){
	$.formValidator.initConfig({formid:"info_form",autotip:true,submitOnce:false});

	$('#info_form').ajaxForm({success:complate,dataType:'json'});
    function complate(result){
        if(result.status == 1){
            $.dialog.get(result.dialog).close();
            $.pinphp.tip({content:result.msg});
            window.location.reload();
        } else {
            $.pinphp.tip({content:result.msg, icon:'alert'});
        }
    }
});
</script>